package com.wing.sys.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SysRole entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="sys_role"
    ,schema="dbo"
    ,catalog="xe"
, uniqueConstraints = {  }
)
public class Role {
	public static String SUPER_ROLE="001";	
	public static String DOMAIN_MANAGER_ROLE="002";
	@Id
	@Column(name="id", unique=true, nullable=false, insertable=true, updatable=true, length=50)
	private String id;
	@Column(name="role_type_id", unique=false, nullable=true, insertable=true, updatable=true, length=50)
	private String role_type_id;
	@Column(name="name", unique=false, nullable=true, insertable=true, updatable=true, length=128)
	private String name;
	@Column(name="sys_role", unique=false, nullable=true, insertable=true, updatable=true)
	private Integer sys_role;
	@Column(name="valid_flag", unique=false, nullable=true, insertable=true, updatable=true)
	private Integer valid_flag;
	@Column(name="remarks", unique=false, nullable=true, insertable=true, updatable=true, length=128)
	private String remarks;
  	@Column(name = "status")
  	private int status;
  	@Column(name = "site_id")
  	private String site_id;
	
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getRole_type_id() {
		return role_type_id;
	}
	public void setRole_type_id(String roleTypeId) {
		role_type_id = roleTypeId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getSys_role() {
		return sys_role;
	}
	public void setSys_role(Integer sysRole) {
		sys_role = sysRole;
	}
	public Integer getValid_flag() {
		return valid_flag;
	}
	public void setValid_flag(Integer validFlag) {
		valid_flag = validFlag;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public String getSite_id() {
		return site_id;
	}
	public void setSite_id(String site_id) {
		this.site_id = site_id;
	}
	
}
